<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>title.jsp</title>
<script type="text/javascript" src="../js/title.js"></script>
<link rel="StyleSheet" href="../css/title.css" type="text/css"/>

</head>
<body>
<% String sessionMid = (String)session.getAttribute("sessionMid");	// 세션은 현재 null상태
%>
<div id= "top">
	<div id="logo">
	</div>
	<div id="top_login">
	
		<div id= "choose_login_signup" align="center">
			<input type="button" id="signup" value="회원 가입">
		</div>
		
		<div id= "choose_login_signup" align="center">
			<%if(sessionMid == null){ %>
			<input type="button" id="gologin" value="로그인">
			<%}else{ %>
			<input type="button" id="logout" value="로그 아웃">
			<%} %>
		</div>
		
		<div id= "user_info" align="center">
		<%if(sessionMid != null){ 
		%>
		<%= sessionMid %>
		<%
		}%>
		</div>
	</div>
	
	
	<div id = "top_menu" align="center"> 
		<a href= "index.jsp?inc=../Board/list.jsp">게시판</a>
		<a href= "index.jsp?inc=../Member/list.jsp">회원</a>
		<a href= "index.jsp?inc=../Score/list.jsp">점수</a>
	</div>
</div>
<script type="text/javascript">titleInit();</script>
</body>
</html>